package com.nowcoder.community.service;

import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public interface AdminService {

    void recordUV(String ip);

    // 统计指定日期范围内的UV
    long calculateUV(Date startDate, Date endDate);

    void recordDAU(int userId);

    long calculateDAU(Date startDate, Date endDate);

}
